package com.usian.order.fegin;

import com.usian.jyzx.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 07 15 14 04
 **/
@FeignClient("cart-service")
public interface CartFegin {

    @PostMapping("/api/order/order/delCart/{userId}")
    public void delCart(@PathVariable("userId") Integer userId,
                        @RequestBody List<Long> skuIdList);
    @RequestMapping("/api/order/cart/getAllOrderCkecked")
    public Result getAllOrderCkecked(@RequestParam("token")String token);
}
